<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>添加书籍</title>
	 <script type="text/javascript" charset="utf-8" src="__PUBLIC__/js/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/js/ueditor.all.min.js"> </script>
   
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/js/lang/zh-cn/zh-cn.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/css/add_category.css" />
	<style type="text/css">
        div{
            width:100%;
            height: 100%;
        }
    
		li{
			list-style-type:none;
			width:100%;
			height:35px;
		}
		a{
			text-decoration:none;
		}
		

    </style>
    
</head>
<body>
	<form action="{:U('Book/addbook1')}" method="post"  enctype="multipart/form-data">
			<table class="table">
			<tr >
				<td class="th" colspan="2">添加书籍</td>
			</tr>
			</table>
			
			<ul>
			<li><select name="sel" style="height:25px;width:100px;">
				<volist name="tt" id="vo" content="text/html; charset=utf-8">
					<option value="{$vo['id']}" >
						<li>{$vo.booktype}</li>
					</option>
				</volist></li>
				
			</select>
			<li><span style="font-size:13px;margin-left:80px;">书籍标题：</span><input type="text" name="title" style="margin-left:30px;background-color:#E6EBEF;width:300px;border:1px solid #CECECE;"><br></li>
			<li><span style="font-size:13px;margin-left:80px;">关键字：</span><input type="text" name="keyword" style="margin-left:42px;background-color:#E6EBEF;width:300px;border:1px solid #CECECE;"><br></li>
			<li><span style="font-size:13px;margin-left:80px;">图书摘要：</span><input type="text" name="note" style="margin-left:55px;background-color:#E6EBEF;width:300px;border:1px solid #CECECE;"><br></li>
			<li><span style="font-size:13px;margin-left:80px;">图书作者：</span><input type="text" name="writer" style="margin-left:55px;background-color:#E6EBEF;width:300px;border:1px solid #CECECE;"><br></li>
			
			<li><span style="font-size:13px;margin-left:80px;">出版社：</span><input type="text" name="laiyuan" style="margin-left:55px;background-color:#E6EBEF;width:300px;border:1px solid #CECECE;"><br></li>
			
			<li><span style="font-size:13px;margin-left:80px;">出版时间：</span><input type="text" name="ctime" style="margin-left:55px;background-color:#E6EBEF;width:300px;border:1px solid #CECECE;" /><br></li>
            
            <li><span style="font-size:13px;margin-left:80px;">图书ISBN：</span><input type="text" name="sn" style="margin-left:55px;background-color:#E6EBEF;width:300px;border:1px solid #CECECE;"/><br></li>
			
			<li><span style="font-size:13px;margin-left:80px;">图书封面（网址）：</span><input type="text" name="suotu" style="margin-left:43px;"><br></li>
			
			<li><span style="font-size:13px;margin-left:80px;">图书位置：</span><input type="text" name="weizhi" style="margin-left:53px;background-color:#E6EBEF;width:100px;border:1px solid #CECECE;"><br></li>
			
			<li><span style="font-size:13px;margin-left:80px;">更多详情（网址）：</span><input type="text" name="rl" style="margin-left:53px;background-color:#E6EBEF;width:100px;border:1px solid #CECECE;"/>(注：请到搜狗百科搜索图书填入图书详情网址)<a href="http://baike.sogou.com" target="_blank">搜狗百科</a><br></li>


			<li><span style="font-size:13px;margin-left:80px;">图书页数：</span><input type="text" name="yeshu" style="margin-left:53px;background-color:#E6EBEF;width:100px;border:1px solid #CECECE;">页<br></li>
			<li><span style="font-size:13px;margin-left:80px;">图书开本：</span><input type="text" name="guige" style="margin-left:53px;background-color:#E6EBEF;width:100px;border:1px solid #CECECE;">开<br></li>
			<li><span style="font-size:13px;margin-left:80px;">图书定价：</span><input type="text" name="price" style="margin-left:53px;background-color:#E6EBEF;width:100px;border:1px solid #CECECE;">元<br></li>
			
			<li><span style="font-size:13px;margin-left:80px;">图书库存：</span><input type="text" name="number" style="margin-left:28px;background-color:#E6EBEF;width:100px;border:1px solid #CECECE;">本<br></li>
			
			<li><span style="font-size:13px;margin-left:80px;">图书内容：</span><input type="text" name="content" style="margin-left:28px;background-color:#E6EBEF;width:600px;height:60px;border:1px solid #CECECE;"><br></li>


			<!-- <li style="width:100%;height:320px;"><span style="font-size:13px;margin-left:-770px;">内容：


			</span>    <script id="editor" type="text/plain" style="width:700px;height:300px;float:left;margin-left:13%;"></script><br></li> -->
			<li style="float:left;margin-left:480px;margin-top:30px;">
			<input type="submit" value="确认提交"></li>
			</ul>
			<!-- <input type="hidden" name="content" id="con"> -->
		</form>
		<!-- <input type="button" value="保存内容" onclick="a()" style="float:left;margin-left:18%;margin-top:-38px;" > -->
<literal>
<script type="text/javascript">
	var ue = UE.getEditor('editor');
	function a () {
		
		s=UE.getEditor('editor').getContent();
		
		document.getElementById('con').value=s;
		
	   
	}
    
   
</script>
</literal>
</body>
</html>


